import request from '@/utils/request'



/**
 * 用户登录
 */
export function LOGIN(stuId,pwd){
  return request({
    url:'/forum_users/login',
    method:'POST',
    data:{
        stuId:stuId,
        password:pwd
    }
  })
}

/**
 *  用户登录
 */
export function REGISTER(data){
  return request({
    url:'/forum_users/register',
    method:'POST',
    data
  })
}